<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生页面</title>
<link rel="stylesheet" href="css/bootstrap.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>

<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui.theme.css">
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/messages_zh.js"></script>
<script type="text/javascript">	
	$(function() {
		$("#bb .bbb").click(function() {
			var obj = $(this).attr("src");
			$("#ddd").load(obj); 
		});
		$("#thn_3").click(function() {
			var zx=confirm("是否注销！");
			if (zx==true) {
				return window.location = "zhuxiao1";
			}else{
			 	return false;	
			}
		}); 
	});
</script>
<style type="text/css">
	*{
		margin: 0 0;
	}
	#b{
				
		height: 100%;
	}
	#bb{		
		height: 25px;
		text-align: center;
		background: #00BBEE;
	}
	#bbbb{
		
		text-align: center;
	}
	.bbb{
	font-size: 20px;
	margin-bottom: 10px;
	padding-left: 20px;
	}
	div span:hover {
		margin-left: 70px;
		background: #C1E2B3;
		cursor: pointer;
	}
	h1{
		font-family: "楷体";
		font-size: 1.5cm;
	}
	h2{
		font-family: "楷体";
		font-size: 0.8cm;
	}
	#ddd{
		border: 1px solid black;
	}
	span{
		margin-left: 70px;
	}
</style>
</head>
<body style="background: url(${pageContext.request.contextPath}/img/011.jpg);">
		<div id="b">
			<div id="bbbb">
				<h1>学生成绩管理系统</h1>
				<h2>欢迎你，${user.name}</h2>
			</div>
			<div id="bb">
					<span class="bbb" src="cless?id=${user.id}">查看个人成绩</span>
					<span class="bbb" src="allstudent?xsid=${user.tbClass.id}">查看全班成绩</span>
					<span class="bbb" src="xgpwd?id=${user.id}">修改密码</span>
					<span class="bbb" id="thn_3">注销</span>
			</div>
			<div id="ddd"></div>
		</div>
	</body>
</html>